<?php
/*
 *author:Yangligao
 *Date:2013-10-4
 */
$menuModel = new MenuModel();
$foodModel = new FoodModel();

$searchmenu = $menuModel->menu_select("menu_id,menu_name",'','limit 8','order by menu_count desc');

$searchetsp = $foodModel->food_select('food_id,food_name','where food_type=3','limit 8','order by food_count desc');
$searchjlsp = $foodModel->food_select('food_id,food_name','where food_type=1','limit 8','order by food_count desc');
$searchsjsp = $foodModel->food_select('food_id,food_name','where food_type=2','limit 8','order by food_count desc');

$smarty->assign('searchmenu',$searchmenu);
$smarty->assign('searchetsp',$searchetsp);
$smarty->assign('searchjlsp',$searchjlsp);
$smarty->assign('searchsjsp',$searchsjsp);


?>
